package com.yixun.qfbao.apidto;

import com.yixun.qfbao.annotation.TYWValid;
import com.yixun.qfbao.apidto.base.CommonReqDTO;
import org.springframework.web.multipart.MultipartHttpServletRequest;

import java.io.Serializable;

public class ImportOrgReqDto extends CommonReqDTO implements Serializable {
	
	private static final long serialVersionUID = 1L;
	private MultipartHttpServletRequest MulRequest;
	public MultipartHttpServletRequest getMulRequest() {
		return MulRequest;
	}
	public void setMulRequest(MultipartHttpServletRequest mulRequest) {
		MulRequest = mulRequest;
	}
	/**
	 * 部门id
	 */
	private Long parentId;
	/**
	 * 操作类型 1:机构，2:员工
	 */
	@TYWValid(min=1)
	private String optType;
	public Long getParentId() {
		return parentId;
	}
	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}
	public String getOptType() {
		return optType;
	}
	public void setOptType(String optType) {
		this.optType = optType;
	}
}
